﻿using System;

namespace Omnia.Library.Helpers
{
    [AttributeUsage(AttributeTargets.Field, Inherited = false, AllowMultiple = false)]
    public sealed class EnumDescriptorAttribute : Attribute
    {
        public string Description { get; private set; }

        public EnumDescriptorAttribute(string desc)
        {
            this.Description = desc ?? "";
        }
    }
}
